package com.winsdom.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 发票申请表
 * </p>
 *
 * @author 
 * @since 2025-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("invoice_application")
public class InvoiceApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 发票申请ID
     */
    @TableId(value = "application_id", type = IdType.AUTO)
    private Long applicationId;

    /**
     * 通知单编号
     */
    private String noticeNumber;

    /**
     * 账单类型：1-开票，2-收据
     */
    private Integer status;

    /**
     * 发票类型:1-增值税电子普通发票,2-增值税专用发票,3-电子发票(普),4-电子发票(专)
     */
    private Integer invoiceType;

    /**
     * 账单ID
     */
    private Long billsId;

    /**
     * 关联客户开票抬头ID
     */
    private Long headerId;

    /**
     * 申请开票金额
     */
    private BigDecimal applyAmount;

    /**
     * 已开票金额(累计)
     */
    private BigDecimal issuedAmount;


}
